package com.ruoyi.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ruoyi.loan.entity.Image;
import org.springframework.web.multipart.MultipartFile;

import javax.mail.Multipart;
import java.util.List;

/**
 * @Author lin
 * @Date 2022/4/5 0:17
 */
public interface ImageService extends IService<Image> {

    /**
     * 贫困材料上传
     * @param multipartFiles
     * @return
     */
    List<Integer> uploadPoorImages(MultipartFile[] multipartFiles);

    List<Image> selectImagesByLoanId(Integer loanId);
}
